home *** CD-ROM | disk | FTP | other *** search
/ Mac Format 1994 August / August CD.bin / Shareware / Programming / SpriteWorld / Examples / Simple / Simple.h < prev    next >
Text File  |  1993-06-08  |  697b  |  39 lines

  1. ///--------------------------------------------------------------------------------------
  2. // Simple.h
  3. //
  4. // By: Tony Myles
  5. //
  6. // Copyright © 1993 Tony Myles, All rights reserved worldwide.
  7. ///--------------------------------------------------------------------------------------
  8.  
  9.  
  10. #ifndef __SIMPLE__
  11. #define __SIMPLE__
  12.  
  13. #ifndef __WINDOWS__
  14. #include <Windows.h>
  15. #endif
  16.  
  17. enum
  18. {
  19.     kSpriteCIconResID = 128,
  20.     kNumberOfSpriteFrames = 1,
  21.     kNumberOfSprites = 6,
  22.     kSpriteMoveTime = 10,
  23.     kHorizMoveDelta = 16,
  24.     kVertMoveDelta = 16,
  25.     kPixPatResID = 128
  26. };
  27.  
  28. #ifdef __cplusplus
  29. extern "C" {
  30. #endif
  31.  
  32. void PerformSimpleAnimation(CWindowPtr srcWindowP);
  33.  
  34. #ifdef __cplusplus
  35. };
  36. #endif
  37.  
  38.  
  39. #endif /* __APPLICATION__ */